0 QTRS
↳1 QTRSRRRProof (⇔)
↳2 QTRS
↳3 QTRSRRRProof (⇔)
↳4 QTRS
↳5 QTRSRRRProof (⇔)
↳6 QTRS
↳7 DependencyPairsProof (⇔)
↳8 QDP
↳9 DependencyGraphProof (⇔)
↳10 QDP
↳11 MRRProof (⇔)
↳12 QDP
↳13 DependencyGraphProof (⇔)
↳14 AND
↳15 QDP
↳16 MRRProof (⇔)
↳17 QDP
↳18 QDPOrderProof (⇔)
↳19 QDP
↳20 QDPOrderProof (⇔)
↳21 QDP
↳22 DependencyGraphProof (⇔)
↳23 AND
↳24 QDP
↳25 QDPOrderProof (⇔)
↳26 QDP
↳27 PisEmptyProof (⇔)
↳28 YES
↳29 QDP
↳30 Narrowing (⇔)
↳31 QDP
↳32 DependencyGraphProof (⇔)
↳33 QDP
↳34 Narrowing (⇔)
↳35 QDP
↳36 DependencyGraphProof (⇔)
↳37 QDP
↳38 Instantiation (⇔)
↳39 QDP
↳40 DependencyGraphProof (⇔)
↳41 AND
↳42 QDP
↳43 MRRProof (⇔)
↳44 QDP
↳45 MRRProof (⇔)
↳46 QDP
↳47 MRRProof (⇔)
↳48 QDP
↳49 QDPOrderProof (⇔)
↳50 QDP
↳51 QDPOrderProof (⇔)
↳52 QDP
↳53 QDPOrderProof (⇔)
↳54 QDP
↳55 QDPOrderProof (⇔)
↳56 QDP
↳57 NonTerminationProof (⇔)
↳58 NO
↳59 QDP
↳60 MRRProof (⇔)
↳61 QDP
↳62 MRRProof (⇔)
↳63 QDP
↳64 MRRProof (⇔)
↳65 QDP
↳66 QDPOrderProof (⇔)
↳67 QDP
↳68 QDPOrderProof (⇔)
↳69 QDP
↳70 QDPOrderProof (⇔)
↳71 QDP
↳72 QDPOrderProof (⇔)
↳73 QDP
↳74 QDP
↳75 QDPOrderProof (⇔)
↳76 QDP
↳77 DependencyGraphProof (⇔)
↳78 TRUE
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → isNatList(activate(V1))
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(nil) → 0
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0) = 0
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 1
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNatList(n__nil) → tt
length(nil) → 0
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → isNatList(activate(V1))
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0) = 0
POL(U11(x1, x2)) = 1 + x1 + x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 1 + x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 1 + x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNat(n__length(V1)) → isNatList(activate(V1))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0) = 0
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2 + x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2 + x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ZEROS → CONS(0, n__zeros)
ZEROS → 01
U111(tt, L) → S(length(activate(L)))
U111(tt, L) → LENGTH(activate(L))
U111(tt, L) → ACTIVATE(L)
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
ACTIVATE(n__zeros) → ZEROS
ACTIVATE(n__0) → 01
ACTIVATE(n__length(X)) → LENGTH(X)
ACTIVATE(n__s(X)) → S(X)
ACTIVATE(n__cons(X1, X2)) → CONS(X1, X2)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ACTIVATE(n__nil) → NIL
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ACTIVATE(n__isNat(X)) → ISNAT(X)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__length(X)) → LENGTH(X)
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
U111(tt, L) → ACTIVATE(L)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__length(X)) → LENGTH(X)
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNAT(x1)) = x1
POL(ISNATILIST(x1)) = 2·x1
POL(ISNATLIST(x1)) = x1
POL(LENGTH(x1)) = 2·x1
POL(U11(x1, x2)) = 2 + 2·x1 + 2·x2
POL(U111(x1, x2)) = 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
U111(tt, L) → ACTIVATE(L)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = 2·x1 + x2
POL(ISNAT(x1)) = x1
POL(ISNATILIST(x1)) = 1 + 2·x1
POL(ISNATLIST(x1)) = 2·x1
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 1 + 2·x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 1 + 2·x1
POL(n__isNatList(x1)) = 2·x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVATE(n__isNat(X)) → ISNAT(X)
POL( AND(x1, x2) ) = 2x2
POL( ISNAT(x1) ) = x1
POL( n__isNatIList(x1) ) = x1 + 1
POL( n__isNatList(x1) ) = x1
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = max{0, -1}
POL( length(x1) ) = max{0, -2}
POL( n__s(x1) ) = 2x1
POL( s(x1) ) = 2x1
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( cons(x1, x2) ) = 2x1 + 2x2
POL( isNatIList(x1) ) = 2x1 + 2
POL( and(x1, x2) ) = max{0, x1 + 2x2 - 2}
POL( isNat(x1) ) = x1 + 2
POL( tt ) = 2
POL( isNatList(x1) ) = 2x1
POL( n__nil ) = 2
POL( nil ) = 2
POL( n__isNat(x1) ) = x1 + 1
POL( U11(x1, x2) ) = max{0, -1}
POL( ACTIVATE(x1) ) = 2x1
POL( ISNATILIST(x1) ) = 2x1 + 2
POL( ISNATLIST(x1) ) = 2x1
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatList(X) → n__isNatList(X)
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
POL( AND(x1, x2) ) = max{0, 2x1 + 2x2 - 2}
POL( ISNAT(x1) ) = x1 + 1
POL( n__isNatIList(x1) ) = 1
POL( n__isNatList(x1) ) = x1 + 1
POL( activate(x1) ) = x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = max{0, -2}
POL( length(x1) ) = max{0, -2}
POL( n__s(x1) ) = 2x1
POL( s(x1) ) = 2x1
POL( n__cons(x1, x2) ) = x1 + x2
POL( cons(x1, x2) ) = x1 + x2
POL( isNatIList(x1) ) = 1
POL( and(x1, x2) ) = max{0, 2x1 + x2 - 2}
POL( isNat(x1) ) = 1
POL( tt ) = 1
POL( isNatList(x1) ) = x1 + 1
POL( n__nil ) = 2
POL( nil ) = 2
POL( n__isNat(x1) ) = 1
POL( U11(x1, x2) ) = max{0, -2}
POL( ACTIVATE(x1) ) = 2x1
POL( ISNATILIST(x1) ) = 2
POL( ISNATLIST(x1) ) = 2x1 + 2
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatList(X) → n__isNatList(X)
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNAT(n__s(V1)) → ISNAT(activate(V1))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNAT(n__s(V1)) → ISNAT(activate(V1))
POL( ISNAT(x1) ) = max{0, 2x1 - 1}
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 1
POL( 0 ) = 2
POL( n__length(x1) ) = max{0, -2}
POL( length(x1) ) = max{0, -2}
POL( n__s(x1) ) = 2x1 + 1
POL( s(x1) ) = 2x1 + 1
POL( n__cons(x1, x2) ) = 0
POL( cons(x1, x2) ) = max{0, -2}
POL( n__isNatIList(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = max{0, -2}
POL( and(x1, x2) ) = max{0, 2x1 + 2x2 - 2}
POL( isNat(x1) ) = 1
POL( tt ) = 1
POL( n__isNatList(x1) ) = max{0, -2}
POL( isNatList(x1) ) = max{0, -1}
POL( n__nil ) = 1
POL( nil ) = 2
POL( n__isNat(x1) ) = 1
POL( U11(x1, x2) ) = max{0, 2x1 - 1}
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatList(X) → n__isNatList(X)
isNatIList(X) → n__isNatIList(X)
isNat(n__0) → tt
isNat(X) → n__isNat(X)
isNat(n__s(V1)) → isNat(activate(V1))
U11(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATILIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ISNATLIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = 2·x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNATLIST(x1)) = x1
POL(U11(x1, x2)) = 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 1
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = 2·x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNATLIST(x1)) = 2·x1
POL(U11(x1, x2)) = 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = 2·x1
POL(isNatIList(x1)) = 2 + x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = 2·x1
POL(n__isNatIList(x1)) = 2 + x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = 2 + 2·x1
POL(AND(x1, x2)) = 2 + x1 + 2·x2
POL(ISNATLIST(x1)) = 2 + x1
POL(U11(x1, x2)) = 1 + 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 1 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 1 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x1 + x2 - 1}
POL( n__isNatList(x1) ) = 2x1
POL( zeros ) = 2
POL( cons(x1, x2) ) = x1 + x2 + 2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( n__s(x1) ) = max{0, -2}
POL( activate(x1) ) = x1 + 2
POL( n__isNat(x1) ) = max{0, -1}
POL( n__length(x1) ) = max{0, -1}
POL( length(x1) ) = max{0, -1}
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = x1 + x2 + 2
POL( n__isNatIList(x1) ) = max{0, -1}
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = x2 + 2
POL( isNatList(x1) ) = 2x1 + 2
POL( n__nil ) = 0
POL( nil ) = 1
POL( U11(x1, x2) ) = max{0, -1}
POL( ISNATLIST(x1) ) = 2x1
POL( ACTIVATE(x1) ) = x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x2 - 1}
POL( n__isNatList(x1) ) = 2x1 + 1
POL( zeros ) = 0
POL( cons(x1, x2) ) = 2x1 + 2x2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = max{0, -2}
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = 1
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 0
POL( n__length(x1) ) = 2x1 + 1
POL( length(x1) ) = 2x1 + 1
POL( s(x1) ) = 1
POL( n__cons(x1, x2) ) = 2x1 + 2x2
POL( n__isNatIList(x1) ) = 2
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = x2
POL( isNatList(x1) ) = 2x1 + 1
POL( n__nil ) = 0
POL( nil ) = 0
POL( U11(x1, x2) ) = x2 + 1
POL( ISNATLIST(x1) ) = x1
POL( ACTIVATE(x1) ) = max{0, x1 - 1}
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = x2 + 2
POL( n__isNatList(x1) ) = x1
POL( zeros ) = 0
POL( cons(x1, x2) ) = 2x1 + 2x2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 2
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = max{0, -1}
POL( activate(x1) ) = 2x1
POL( n__isNat(x1) ) = 1
POL( n__length(x1) ) = 0
POL( length(x1) ) = max{0, -2}
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = 2x1 + 2x2
POL( n__isNatIList(x1) ) = x1 + 1
POL( isNatIList(x1) ) = 2x1 + 2
POL( and(x1, x2) ) = 2x2
POL( isNatList(x1) ) = 2x1
POL( n__nil ) = 2
POL( nil ) = 2
POL( U11(x1, x2) ) = max{0, -2}
POL( ISNATLIST(x1) ) = x1 + 2
POL( ACTIVATE(x1) ) = x1 + 2
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatList(X) → n__isNatList(X)
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, 2x1 + 2x2 - 2}
POL( n__isNatList(x1) ) = x1
POL( zeros ) = 1
POL( cons(x1, x2) ) = x1 + x2
POL( 0 ) = 0
POL( n__zeros ) = 1
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( n__s(x1) ) = max{0, -1}
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 1
POL( n__length(x1) ) = 2
POL( length(x1) ) = 2
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = x1 + x2
POL( n__isNatIList(x1) ) = 2
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = x2
POL( isNatList(x1) ) = x1
POL( n__nil ) = 1
POL( nil ) = 1
POL( U11(x1, x2) ) = max{0, -2}
POL( ISNATLIST(x1) ) = 2x1
POL( ACTIVATE(x1) ) = 2x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatList(X) → n__isNatList(X)
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = 2·x1
POL(AND(x1, x2)) = 2·x1 + 2·x2
POL(ISNATILIST(x1)) = 2·x1
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = 2·x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 2
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 2
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(x0)), n__isNatIList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = 2·x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNATILIST(x1)) = 2·x1
POL(U11(x1, x2)) = 1 + x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = 2·x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 1 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = 2·x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 1 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = x1 + x2
POL(ISNATILIST(x1)) = 1 + 2·x1
POL(U11(x1, x2)) = 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 1 + 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 1 + 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x1 + x2 - 1}
POL( n__isNatIList(x1) ) = 2x1
POL( zeros ) = 0
POL( cons(x1, x2) ) = 2x1 + 2x2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( n__s(x1) ) = max{0, -2}
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 1
POL( n__length(x1) ) = 2
POL( length(x1) ) = 2
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = 2x1 + 2x2
POL( isNatIList(x1) ) = 2x1
POL( and(x1, x2) ) = 2x2
POL( n__isNatList(x1) ) = 0
POL( isNatList(x1) ) = max{0, -1}
POL( n__nil ) = 1
POL( nil ) = 1
POL( U11(x1, x2) ) = 2
POL( ACTIVATE(x1) ) = x1
POL( ISNATILIST(x1) ) = 2x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
nil → n__nil
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(x0, x1)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x1 + x2 - 2}
POL( n__isNatIList(x1) ) = 2x1
POL( zeros ) = 2
POL( cons(x1, x2) ) = 2x1 + x2 + 2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 2
POL( n__0 ) = 0
POL( tt ) = 2
POL( n__s(x1) ) = max{0, -1}
POL( activate(x1) ) = x1 + 2
POL( n__isNat(x1) ) = 2
POL( n__length(x1) ) = x1
POL( length(x1) ) = x1 + 2
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = 2x1 + x2 + 2
POL( isNatIList(x1) ) = 2x1 + 2
POL( and(x1, x2) ) = max{0, 2x1 + x2 - 2}
POL( n__isNatList(x1) ) = x1
POL( isNatList(x1) ) = x1 + 2
POL( n__nil ) = 2
POL( nil ) = 2
POL( U11(x1, x2) ) = max{0, -2}
POL( ACTIVATE(x1) ) = x1
POL( ISNATILIST(x1) ) = 2x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
nil → n__nil
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x2 - 1}
POL( n__isNatIList(x1) ) = x1 + 1
POL( zeros ) = 1
POL( cons(x1, x2) ) = 2x1 + x2
POL( 0 ) = 0
POL( n__zeros ) = 1
POL( isNat(x1) ) = 2
POL( n__0 ) = 0
POL( tt ) = 2
POL( n__s(x1) ) = max{0, -2}
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 2
POL( n__length(x1) ) = max{0, -2}
POL( length(x1) ) = 0
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = 2x1 + x2
POL( isNatIList(x1) ) = x1 + 1
POL( and(x1, x2) ) = max{0, x1 + x2 - 2}
POL( n__isNatList(x1) ) = 1
POL( isNatList(x1) ) = 1
POL( n__nil ) = 1
POL( nil ) = 1
POL( U11(x1, x2) ) = max{0, -2}
POL( ACTIVATE(x1) ) = max{0, x1 - 1}
POL( ISNATILIST(x1) ) = x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(x0)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x1 + 2x2 - 2}
POL( n__isNatIList(x1) ) = 2x1
POL( 0 ) = 0
POL( n__0 ) = 0
POL( isNat(x1) ) = 2
POL( tt ) = 2
POL( n__s(x1) ) = 2
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 2
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__length(x1) ) = 0
POL( length(x1) ) = max{0, -1}
POL( s(x1) ) = 2
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( cons(x1, x2) ) = x1 + 2x2
POL( isNatIList(x1) ) = 2x1
POL( and(x1, x2) ) = max{0, x1 + x2 - 2}
POL( n__isNatList(x1) ) = max{0, -2}
POL( isNatList(x1) ) = max{0, -1}
POL( n__nil ) = 2
POL( nil ) = 2
POL( U11(x1, x2) ) = x1
POL( ACTIVATE(x1) ) = 2x1
POL( ISNATILIST(x1) ) = 2x1
0 → n__0
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
s(X) → n__s(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatList(X) → n__isNatList(X)
isNatIList(X) → n__isNatIList(X)
U11(tt, L) → s(length(activate(L)))
zeros → cons(0, n__zeros)
zeros → n__zeros
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U111(tt, L) → LENGTH(activate(L))
POL( LENGTH(x1) ) = 2
POL( U111(x1, x2) ) = 2x1 + 2
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 2
POL( zeros ) = 2
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = 2x1 + 1
POL( length(x1) ) = 2x1 + 1
POL( n__s(x1) ) = max{0, -1}
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = x1 + 2
POL( cons(x1, x2) ) = 2x1 + 2
POL( n__isNatIList(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = max{0, -2}
POL( and(x1, x2) ) = max{0, x1 + 2x2 - 2}
POL( isNat(x1) ) = 2
POL( tt ) = 2
POL( n__isNatList(x1) ) = max{0, -2}
POL( isNatList(x1) ) = max{0, -2}
POL( n__nil ) = 1
POL( nil ) = 2
POL( n__isNat(x1) ) = 1
POL( U11(x1, x2) ) = max{0, x1 - 1}
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
isNatIList(X) → n__isNatIList(X)
isNat(n__0) → tt
isNat(X) → n__isNat(X)
isNat(n__s(V1)) → isNat(activate(V1))
U11(tt, L) → s(length(activate(L)))
s(X) → n__s(X)
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
cons(X1, X2) → n__cons(X1, X2)
nil → n__nil
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(X)
activate(n__s(X)) → s(X)
activate(n__cons(X1, X2)) → cons(X1, X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X